package com.my.easymall.listener;

/*
 * @auther Summerday
 */

import org.apache.log4j.Logger;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;

@WebListener()
public class MyListener implements ServletContextListener{
    private static Logger logger = Logger.getLogger(MyListener.class);
    public void contextInitialized(ServletContextEvent sce) {
        logger.info("easyMall 已启动");
    }

    public void contextDestroyed(ServletContextEvent sce) {
        logger.info("easyMall 已销毁");
    }

}
